//
//  UMDBook.h
//  UMDReader
//
//  Created by 张 霄鹤 on 10-1-6.
//  Copyright 2010 xhzhang. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "Chapter.h"
#import "ChapterList.h"

@interface UMDBook : NSObject {
	NSInteger bookType;
	NSString *bookPath;
	NSString *bookTitle;
	NSString *bookAuth;
	NSString *bookPublishDate;
	NSString *bookKind;
	NSString *bookPublisher;
	NSString *bookVendor;
	NSString *bookEncoding;
	ChapterList *bookChapters;
	UIImage *bookCover;
	NSString *buyer;
	NSString *sign;
}

@property(nonatomic) NSInteger bookType;
@property(nonatomic, retain) NSString *bookPath;
@property(nonatomic, retain) NSString *bookTitle;
@property(nonatomic, retain) NSString *bookAuth;
@property(nonatomic, retain) NSString *bookPublishDate;
@property(nonatomic, retain) NSString *bookKind;
@property(nonatomic, retain) NSString *bookPublisher;
@property(nonatomic, retain) NSString *bookVendor;
@property(nonatomic, retain) NSString *bookEncoding;
@property(nonatomic, retain) UIImage *bookCover;
@property(nonatomic, retain) ChapterList *bookChapters;
@property(nonatomic, retain) NSString *buyer;
@property(nonatomic, retain) NSString *sign;

- (id)init;

- (BOOL)canSave;

- (void)appendChapter:(Chapter *)chapter;



@end
